home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / CLI / CLICKDIR / !ClickDir / !Help next >
Text File  |  1992-01-15  |  3KB  |  77 lines

  1. ClickDir, version 0.10
  2. ======================
  3.  
  4. The Application
  5. ---------------
  6.  
  7. For some reason, everyone seems to want to write an application to set the
  8. current directory, usually by dragging files to an icon on the icon bar.
  9. Now, I've never seen the point in this, being quite happy to type the
  10. directory name in the shell. However, inspiration struck for a new way of
  11. setting the current directory, and since it was such a small piece of code,
  12. I wrote it.
  13.  
  14. What it did was to change the directory *every* time a file or directory was
  15. double-clicked in a Filer window. Unfortunately, this proved to be less than
  16. useful, since you could be anywhere when you went into the shell. So, this
  17. is a new improved version, which has two modes of operation, one shot and
  18. automatic. Automatic works like the original - the directory is changed on
  19. every double-click, which is useful for running simple (non-desktop)
  20. programs from the Desktop. To change the directory in one shot mode, you
  21. first have to click the ClickDir icon (on the icon bar) - this is useful
  22. when working in the shell. There is a menu on the icon to switch between
  23. modes (and quit).
  24.  
  25. The program starts up in one shot mode (the most useful).
  26.  
  27. Double-clicking directories will set the current directory to the directory
  28. clicked, double-clicking any other files will set it to the directory
  29. containing that file.
  30.  
  31. The Program
  32. -----------
  33.  
  34. The program is written in ARM code. The directory contains the following:
  35.  
  36.   !Boot
  37.   !Help     - this file
  38.   !Run
  39.   !RunImage
  40.   !Sprites
  41.   CreateRI  - source code
  42.   Templates
  43.  
  44. Please report any bugs/improvements to me at one of the addresses below.
  45.  
  46. If anyone finds it useful, I may turn it into a module thus making it a
  47. little more permanent (in theory, it should also be smaller, but since RMA
  48. space is very difficult to recover, this is probably a false economy). I
  49. would prefer to do this myself, so that there can be a definitive version,
  50. but if you must do it yourself, might I recommend using Richard Lloyd's
  51. Trashcan module as a base (I probably will).
  52.  
  53. Finally, here's a quick resume of how it works (in automatic mode):
  54.  
  55.         Repeatedly listen for User Message event
  56.           If Message_Quit, then closedown and quit
  57.           If Message_DataOpen, then use the filename given to set the
  58.           directory. Do *not* reply to the message.
  59.  
  60. Lewis Gordon, April 1991
  61.  
  62. Email: L.R.Gordon@ukc.ac.uk (until June '92)
  63.  
  64. Snail: 4 Beech Way,
  65.        Blackmore End,
  66.        Wheathampstead,
  67.        Herts,
  68.        AL4 8LY
  69.  
  70. Revision History
  71. ----------------
  72.  
  73. 0.01 - version the first.
  74.  
  75. 0.02 - added bong on startup.
  76.  
  77. 0.10 - major revision, introduced two modes, and put icon on icon bar, etc.